package com.example.design.decorator.coffeeebar.concretedecorator;

import com.example.design.decorator.coffeeebar.component.Drink;
import com.example.design.decorator.coffeeebar.decorator.Decorator;

/**
 * @Description 作料：牛奶
 * 具体装饰类
 * @ClassName Chocolate
 * @Author Administrator
 * @Date 2020/5/13 18:11
 * @Version 1.0.0
 */
public class Milk extends Decorator {
    public Milk(Drink drink) {
        super(drink);
        super.setDescription("牛奶");
        super.setPrice(2.0f);
    }
}
